package main

import (
	"fmt"
	"time"
)

// 11 打印出九九乘法表并统计耗时
func main() {
	start := time.Now() //开始计时标签

	for i := 1; i <= 9; i++ {
		for j := 1; j <= i; j++ {
			fmt.Print(i, "x", j, "=", i*j, "  ")
		}
		fmt.Println()
	}

	tc := time.Since(start) //结束计时标签
	fmt.Printf("耗时%v", tc)
}
